<script type="text/javascript">
function addFavorite() {
    try {
        if (document.all) {
            window.external.addToFavoritesBar(location.href, document.title);
        } else {
            window.sidebar.addPanel(location.href, document.title, '');
        }
    }
    catch(err) {
        alert('因为浏览器存在Bug，请按 Ctrl+D 键收藏！');
    }
}
</script>
<div class="body-top">
    <div class="w1006 center">
        <span class="right"><a href="/index.php?m=content&c=index&a=lists&catid=28" target="_blank">凤凰古城在哪里？</a></span>
        <span class="left">凤凰365：凤凰古城旅游网资讯第一平台</span>
    </div>
</div>
<div class="header">
    <div class="w1006 center">
        <div class="logo">
            <a href="{siteurl($siteid)}/"><img src="{IMG_PATH}web/logo.png" /></a>
        </div>
        <div class="banner">
            <script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=1"></script>
        </div>
        <div class="tips">
            <a href="/index.php?m=search">高级搜索</a><a href="{APP_PATH}index.php?m=content&c=rss&siteid=1">订阅本站</a><a href="" onClick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage(strHref);return false;">设为首页</a><a href="javascript:addFavorite();">加入收藏</a><a href="{APP_PATH}index.php?m=content&c=index&a=lists&catid=36" target="_blank">网站地图</a>
        </div>
        <div class="_clear"></div>
    </div>
    <div class="menu w960 center">
        <div class="top" style="position:relative;">
            <div id="fh-left" style="position:absolute">
            </div>
            <ul>
            {pc:content action="category" catid="0" num="11" siteid="$siteid" order="listorder ASC"}
                <li{if !$catid} class="details"{/if}><a href="/index.php">首 页</a></li>
                {loop $data $r}
                <li{if $r['catid']==$catid || $r['catid']==parentid($catid)} class="details"{/if}><a href="{$r[url]}">{$r[catname]}</a></li>
                {/loop}
            {php echo runhook('glogal_menu')}
            {/pc}
            </ul>
            <div id="fh-right" style="position:absolute">
            </div>
        </div>
        <div class="_clear">
        </div>
        <div class="down">
            <ul>
                {pc:content action="category" catid="6" num="13" siteid="$siteid" order="listorder ASC"}
                {loop $data $r}
                <li><a href="{$r[url]}">{$r[catname]}</a></li>
                {/loop}
                {/pc}
            </ul>
        </div>
    </div>
</div>
